package cn.ren.cloud.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 23508
 */
@Data
@Component
@AllArgsConstructor
@NoArgsConstructor
@ConfigurationProperties("verify-code.sms")
public class VerifyCodeProperties {
    /**
     * 验证码长度
     */
    private Integer codeSize;
    /**
     * 间隔时间
     */
    private Long intervalTime;
    /**
     * 结束时间
     */
    private Long overTime;
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    private String content;
    /**
     * 时间转换
     */
    private Long millisecondToMinute;
    /**
     * 图形验证码宽
     */
    private Integer captchaWide;
    /**
     * 图形验证码长
     */
    private Integer captchaHigh;
}
